package com.scs.application.modules.base.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/** 供应商更名
 */
@Data
public class SpChangeNameDTO {
    // 来源供应商id
    @NotBlank(message = "缺少参数idFrom")
    private String idFrom;

    // 新供应商名称
    @NotBlank(message = "缺少参数nameNew")
    private String nameNew;

     // 勾选后，将复制原始供应商的相关商品到新供应商
     @NotNull(message = "缺少参数flagCopyMatr")
    private Boolean flagCopyMatr;
}
